<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title></title>
<meta http-equiv='content-type' content='text/html;charset=utf-8' />
<link rel='stylesheet' type='text/css' href='__PUBLIC__/css/admin_public.css' />
</head>
<body>
	<div id='all'>

	<!-- 头部 -->
		<!-- 头部开始 -->
		<div id='header'>
			<div id='header_left'>
				lyolzjcms 后台管理系统
			</div>
			<div id='header_right'>
				<a href='__ROOT__' target="_blank">网站首页</a>
				<a href='__APP__/Index/index'>后台首页</a>
				<a href='__APP__/Index/loginout'>退出管理</a>
			</div>
		</div>
	<!-- 头部尾部 -->
	
		<div id='main'>
			<div id='main_left'>
	<ul>
		<li><a href='__APP__/Config/index'>全局配置</a></li>
		<li><a href='__APP__/Menu/index'>栏目管理</a></li>
		<li><a href='__APP__/Article/index'>文章管理</a></li>
		<li><a href='__APP__/Comment/index'>评论管理</a></li>
		<li><a href='__APP__/Links/index'>友链管理</a></li>
		<li><a href='__APP__/Singlepage/index'>单页管理</a></li>
		<li><a href='__APP__/Cache/index'>缓存管理</a></li>
	</ul>
</div>
			<div id='main_right'>
				<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title></title>
<meta http-equiv='content-type' content='text/html;charset=utf-8' />
<style>
#right_top{
	height:60px;
	line-height:60px;
	font-size:18px;
	color:#0B55C4;
	font-weight:bold;
	
}
#right_top #img{
	float:left;
	width:42px;
	padding:8px;
}
#right_top #img_text{
	float:left;
	width:660px;
	text-indent:20px;
}
#right_top_left{
	float:left;
	width:100px;
}
#right_top_right{
	float:right;
	width:100px;
	padding-top:30px;
}
#right_bottom{
	padding:10px;
}
h5{
	color:green;
}
</style>
</head>
<body>
<form action='__URL__/delete' method="post" id='delete'>
	<div id='right_top'>
		<div id='img'>
			<img src='__PUBLIC__/images/cache.jpg' />
		</div>
		<div id='img_text'>
			<div id='right_top_left'>
				缓存管理
			</div>
			<div id='right_top_right'>
				<button onclick="return checkForm();" >清除</button>
			</div>
		</div>
	</div>
	<div id='right_bottom'>
	<?php if(is_array($cache)): $i = 0; $__LIST__ = $cache;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><h5><?php echo ($key); ?></h5><br />
		<?php if(is_array($vo)): $i = 0; $__LIST__ = $vo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$voo): $mod = ($i % 2 );++$i;?><input type="checkbox" name="menubox[]" value="<?php echo ($voo); ?>">&nbsp;&nbsp;<?php echo ($key); ?><br /><?php endforeach; endif; else: echo "" ;endif; endforeach; endif; else: echo "" ;endif; ?>
	</div>
</form>
<script>
function checkForm()
{
	var str=document.getElementsByName("menubox[]");
	var length=str.length;
	var value="";
	for(i=0; i<length; i++)
	{
		if(str[i].checked == true)
		{
			value += str[i].value;
		}
	}
	if(value=="")
	{
		alert("请选择要删除的栏目");
		return false;
	}
	else
	{
		document.getElementById("delete").submit();
		return true;
	}
}
</script>
</body>
</html>
			</div>
		</div>

	<!-- 尾部 -->
			<div id='clear_float'></div>
	<!-- 尾部开始 -->
		<div id='footer'>
			Powered by: <a href='#'>lyolzjcms</a>
		</div>
	<!-- 尾部尾处 -->
	</div>
	</div>
</body>
</html>